<include file="__THEME__/header" />
<link rel="stylesheet" href="../Public/bug.css" type="text/css" media="screen" charset="utf-8" />
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="bug_content">
  <!-- 内容 begin  -->
  <div class="bug_main">
    <!-- 画布 begin  -->
    <include file="../Public/nav_top" />
    <div class="BlogBox">
      <div class="bug_MenuSub">
        <php>if(!isset($_GET['state'])){
          $allclass = 'on';
          }else{
          $allclass = '';
          } </PHP>
        <a href="{:U('bug/Index/my')}" class="{$allclass}">所有({:getStateCount('true')})</a>
        <PHP>foreach(getStateInfo('list') as $key=>$val){</PHP>
        <php>$class =($key==$_GET['state'] && isset($_GET['state']))?'on':'';</php>
        |&nbsp;<a href="{:U('bug/Index/my', 'state='.$key)}" class="{$class}">{$val} ({:getStateCount('false',$key)})</a>
        <PHP>}</PHP>
      </div>
 <div>
          <!-- 好友日志 begin  -->
           <php>if($data){</php>
          <table class="bug_table" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
              <th width="5%">编号</th>
              <th class="bug_pl10 bug_alL" width="40%">标题</th>
              <th width="10%">版本号</th>
              <th width="10%">类型</th>
              <th width="10%">作者</th>
              <th width="10%">状态</th>
              <th width="15%">发布时间</th>
            </tr>
               <volist id="vo" name="data">
            <tr>
              <td align="center" width="5%">{$vo.id}</td>
             <td class="bug_pl10" width="40%"><a href="{:U('bug/bug/view','id='.$vo[id])}" target="_blank">{$vo.title}</a></td>
             <td align="center" width="10%">{$vo.edition|getEditionName}</td>
             <td align="center" width="10%">{$vo.catid|getCategoryName}</td>
              <td align="center" height="40" width="10%"><a href="{:U('space/view/index','uid='.$vo[uid])}" target="_blank"><img src="{$vo.uid|getUserFace}" class="alM" width="20px" height="20px"/></a> <a href="{:U('space/view/index','uid='.$vo[uid])}" target="_blank">{$vo.uname}</a></td>
             <td align="center" width="10%"><span style="color:{$vo.state|getStateColor};">{$vo.state|getStateInfo}</span></td>
              <td align="center" width="15%">{$vo.cTime|friendlyDate}</td>
            </tr>
              </volist>
          </table>
           <php>}else{</php>
            <p class="bug_no">暂无任何信息</p>
            <php>}</php>
            <div class="page">{$html}</div>
          </div>
        <!-- 好友日志 end  -->
     
    </div>
  </div>
  <!-- 画布 end  -->
  <div class="c"></div>
</div>
<!-- 内容 end -->
<include file="__THEME__/footer" /> 